<?php

namespace App\Containers\AppSection\Signature\UI\CLI\Commands;

use App\Containers\AppSection\Signature\Actions\CreateSignatureAction;
use App\Containers\AppSection\Signature\UI\CLI\Requests\CreateSignatureRequest;
use App\Ship\Parents\Commands\ConsoleCommand;

class VerifyFileCommand extends ConsoleCommand
{
    protected $signature = 'verify:file';

    protected $description = 'Verify file';

    public function handle(): void
    {
        $request = new CreateSignatureRequest([
            'sign' => 'MIIIvwYJKoZIhvcNAQcCoIIIsDCCCKwCAQExDjAMBggqhQMHAQECAgUAMBoGCSqGSIb3DQEHAaANBAtIZWxsbyBXb3JsZKCCBfcwggJzMIICIqADAgECAhA3QYiC9TmlkkrUTj3gAuo8MAgGBiqFAwICAzB/MSMwIQYJKoZIhvcNAQkBFhRzdXBwb3J0QGNyeXB0b3Byby5ydTELMAkGA1UEBhMCUlUxDzANBgNVBAcTBk1vc2NvdzEXMBUGA1UEChMOQ1JZUFRPLVBSTyBMTEMxITAfBgNVBAMTGENSWVBUTy1QUk8gVGVzdCBDZW50ZXIgMjAeFw0xOTA1MjcwNzI0MjZaFw0yNDA1MjYwNzM0MDVaMH8xIzAhBgkqhkiG9w0BCQEWFHN1cHBvcnRAY3J5cHRvcHJvLnJ1MQswCQYDVQQGEwJSVTEPMA0GA1UEBxMGTW9zY293MRcwFQYDVQQKEw5DUllQVE8tUFJPIExMQzEhMB8GA1UEAxMYQ1JZUFRPLVBSTyBUZXN0IENlbnRlciAyMGMwHAYGKoUDAgITMBIGByqFAwICIwEGByqFAwICHgEDQwAEQBSfFgSoq3ZRO59iO5HEvLzJrGAsZ3rDRQXu5qjKLtXre8L0iYEzUrMrx8rgbcoE1iuz1xH+w8PUjbwbG/N7w5KjeDB2MAsGA1UdDwQEAwIBhjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBROgz4Uae/sXXqVK18R/jcyFklVKzASBgkrBgEEAYI3FQEEBQIDAQABMCMGCSsGAQQBgjcVAgQWBBQEYlUpCw6xzdF5fZq4yB9pnjaH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x7q+tqYZwvX1SuHq6mm6mZVLpkM22ub7dzs=',
            'file_id' => 101375,
            "sign2"=>"Hello World",
        ]);
        app(CreateSignatureAction::class)->run($request);
    }
}
